Priority

Shift & Break Logic Statement

Syntax samples

PRIORITY <expression>

PRIORITY 199

Description

This statement is used to change the priority of the off-line state of the location or resource. If the priority is less than the value set previously, the system will check if the location or resource can be preempted.

Valid In

Shift and break main logic only. This statement is not valid in pre-off shift or pre-break logic.

Components

<expression>

Any expression that yields a value between 0 and 999. Standard ProModel priority levels apply.

Example

Suppose you want to insure that the resource is non-preemptable for the first four hours it is off-shift. Simply enter a high (e.g., 999) off-shift priority value in the priority dialog in the Shift Assignments module. Enter the following off-shift logic to lower the priority (to 99) four hours into the off-shift period:

WAIT 4 hr
PRIORITY 99
WAIT 4 hr
SKIP

See Also

Shift & Break Logic.